package sz.szsmk.citizencard.ui.dzsmkavtivity;


import android.view.View;

import com.chenenyu.router.Router;
import com.chenenyu.router.annotation.Route;

import sz.szsmk.citizencard.R;
import sz.szsmk.citizencard.databinding.ActivitySignUpElectronCardBinding;
import sz.szsmk.citizencard.mvp.presenter.IBasePresenter;
import sz.szsmk.citizencard.ui.base.IBaseActivity;

/**
 * Copyright (c)2018
 * author: zhf
 * created on: 2018/9/6 19:57
 * description:
 */
@Route("signupelectron")
public class SignUpElectronCardActivity extends IBaseActivity<IBasePresenter, ActivitySignUpElectronCardBinding> {

    public static SignUpElectronCardActivity instance;
    @Override
    protected int attachLayoutRes() {
        return R.layout.activity_sign_up_electron_card;
    }

    @Override
    protected void initInjector() {

    }

    @Override
    protected void initViews() {
        instance=this;
        dataBinding.signUpBtn.setOnClickListener(new View.OnClickListener(){

            @Override
            public void onClick(View view) {
                Router.build("bindcashcard").go(SignUpElectronCardActivity.this);
                finish();
            }
        });
        dataBinding.back.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                finish();
            }
        });
    }

    @Override
    protected void updateViews() {

    }
}
